package com.qf.office.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Data;

/**
 * 候选人表
 */
@Data
@TableName(value = "candidate")
public class Candidate {
    /**
     * 候选人id
     */
    @TableId(value = "candidate_id", type = IdType.INPUT)
    private Integer candidateId;

    /**
     * 照片
     */
    @TableField(value = "candidate_picture")
    private String candidatePicture;

    /**
     * 个人简历
     */
    @TableField(value = "curriculum_vitae")
    private String curriculumVitae;

    /**
     * 附件
     */
    @TableField(value = "accessory")
    private String accessory;

    /**
     * 申请职位
     */
    @TableField(value = "staff_type_id")
    private Integer staffTypeId;

    /**
     * 简历来源
     */
    @TableField(value = "resume_source")
    private String resumeSource;

    /**
     * 候选人状态
     */
    @TableField(value = "candidate_status_id")
    private Integer candidateStatusId;

    /**
     * 自我评价
     */
    @TableField(value = "self_assessment")
    private String selfAssessment;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 0正常 1删除
     */
    @TableField(value = "del_status")
    private Integer delStatus;

    public static final String COL_CANDIDATE_ID = "candidate_id";

    public static final String COL_CANDIDATE_PICTURE = "candidate_picture";

    public static final String COL_CURRICULUM_VITAE = "curriculum_vitae";

    public static final String COL_ACCESSORY = "accessory";

    public static final String COL_STAFF_TYPE_ID = "staff_type_id";

    public static final String COL_RESUME_SOURCE = "resume_source";

    public static final String COL_CANDIDATE_STATUS_ID = "candidate_status_id";

    public static final String COL_SELF_ASSESSMENT = "self_assessment";

    public static final String COL_CREATE_TIME = "create_time";

    public static final String COL_DEL_STATUS = "del_status";
}